[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GRAFMODE() (STRING)

 Function
  Report the graphics mode in use.

 Syntax
  GRAFMODE()   No arguments are required

 Return Type & Value
  STRING
  Returns a letter indicating the current graphics supported by the user.

 Remarks
  This function will return one of four possible responses:

   N - No graphics (RIP or ANSI) supported
   A - ANSI positioning (no color) supported
   G - Full ANSI graphics (color and positioning) supported
   R - RIPscrip supported

 Examples
  IF      (GRAFMODE() = "R") THEN PRINT "RIPscrip"
  ELSE IF (GRAFMODE() = "G") THEN PRINT "Full ANSI"
  ELSE IF (GRAFMODE() = "A") THEN PRINT "ANSI positioning"
  ELSE IF (GRAFMODE() = "N") THEN PRINT "No"
  ELSE                            PRINT "Unknown"
  ENDIF
  PRINTLN " Graphics Supported"

See Also: ANSIPOS ANSION() BACKUP FORWARD GETX() GETY()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson